<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
<import type="js" file="js.jquery" />
<import type="js" file="js.common" />
<import type="css" file="css.global" />
<import type="css" file="css.form" />
<style type="text/css">
.SmallStatic{
	background: none repeat scroll 0 0 #E0E0E0;
    border: 1px solid #C0BBB4;
    font-size: 9pt;
    padding: 1px 5px;
}
</style>
<script type="text/javascript">
parent.frames['list'].refresh();
</script>
</head>
<body>
<div class="search"><b>新建部门</b></div>
<div id="form">
	<form name="form1" action="__APP__/Dept/insert" method="post" >
	<table>
		<tr>
			<td class="titlename">部门名称：</td>
			<td><input type="text" name="dept_no" size="10" maxlength="3">&nbsp;3位数字，用于同一级次部门排序，不能重复   </td>
		</tr>
		<tr>
			<td class="titlename">部门名称：</td>
			<td><input type="text" name="dept_name" ></td>
		</tr>
		<tr>
			<td class="titlename">上级部门：</td>
			<td>
			<select name="dept_level" >
	           <option value="0">无</option>
			   <volist name="data_dept" id="vo" >
			   <option value="{$vo.id}">{$vo.dept_name}</option>
			   </volist>
	        </select>
			</td>
		</tr>
		<tr>
			<td class="titlename">部门负责人：</td>
			<td><input type="text" id="dept_header" name="dept_header" readonly class="SmallStatic" />
	        <input type="button" value="添加" class="button" onclick="SelectUser('1')" >
			<input type="button" value="清空" class="button" onclick="ClearUser('1')" >
	        </td>
		</tr>
		<tr>
			<td class="titlename">上级负责人：</td>
			<td><input type="text" id="dept_level_header" name="dept_level_header" readonly class="SmallStatic" />
			<input type="button" value="添加" class="button" onclick="SelectUser('2')" >
			<input type="button" value="清空" class="button" onclick="ClearUser('2')" ></td>
		</tr>
		<tr>
			<td class="titlename"></td>
			<td>
				<input type="submit" value="保存" class="submit">&nbsp;&nbsp;
			</td>
		</tr>
	</table>
	</form>
</div>
</body>
</html>